//
//  BMHDBManager+SearchRecord.h
//  BMHVideoMain
//
//  Created by 陈宪栋 on 2017/4/10.
//  Copyright © 2017年 Baomihua. All rights reserved.
//

#import "BMHDBManager.h"

@class BMHSearchRecordModel;
@interface BMHDBManager (SearchRecord)
- (BOOL)createSearchRecordTable;

- (BOOL)addSearchHistoryModel:(BMHSearchRecordModel *)model;
- (BOOL)deleteWithHistoryModel:(BMHSearchRecordModel *)model;
- (BOOL)deleteAllSearchHistory;
- (NSArray *)querySearchHistoryWithLimit:(NSUInteger)limitCount;
@end
